package com.bwda.dsrs.filecenter.service.impl;


import com.bwda.dsrs.filecenter.domain.po.userstrategyrel.UserStrategyRelPo;
import com.bwda.dsrs.filecenter.domain.condition.userstrategyrel.UserStrategyRelCondition;
import com.bwda.dsrs.filecenter.mapper.dsrs.UserStrategyRelMapper;
import com.bwda.dsrs.filecenter.service.UserStrategyRelService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 策略管理--管控策略--服务层实现类
 *
 * @author zhangyinmei
 * @date 2019年4月28日
 */
@Service
public class UserStrategyRelServiceImpl extends BaseServiceImpl<UserStrategyRelPo, UserStrategyRelCondition, UserStrategyRelMapper> implements UserStrategyRelService {

	@Override
	public List<UserStrategyRelPo> selectListForOther(UserStrategyRelCondition condition) {
		return this.getMapper().selectListForOther(condition);
	}

	@Override
	public int deleteByUserCode(String userCode) {
		return this.getMapper().deleteByUserCode(userCode);
	}
}